Ciao,
attraverso la Mail Unit è possibile inviare le email ad uno o più destinatari.
Gli indirizzi email dei destinatari devono essere specificati nella dialog di coupling del Link in ingresso alla Mail Unit, in particolare in corrispondenza dell'""Input Parameter"" di nome ""To"".
Nel caso in cui gli indirizzi siano recuperati a runtime dalla base di dati, si potrebbe utilizzare una Selector Unit, prima della Mail Unit, che si occupa di recuperare gli indirizzi email dei destinatari e di passarli in ingresso alla Mail Unit.
La Selector Unit è associata ad una entità (es. ""User"") e restituisce i valori degli attributi desiderati (es. ""email""). Eventualmente è possibile impostare delle condizioni sulla Selector Unit, per rifinire i risultati restituiti.
Per maggiori informazioni sulla Selector Unit puoi fare riferimento al seguente articolo, disponibile sul WebRatio wiki: Selector Unit
Hi,
the Mail Unit allows you to send emails to one or more than you recipient.
The recipients email addresses can be specified in the Coupling Dialog of the Input Link to the Mail Unit, in particular they are associated with the ""To"" Input Parameter.
If the addresses are dinamically computed at runtime, you can use the Selector Unit, before the Mail Unit, which retrieves the email addresses from the database and sends them to the Mail Unit.
The Selector Unit is associated with an Entity (e.g. ""User"") and returns the values of the desired attributes (e.g. ""email""). You can also define some conditions on the Selector Unit, in order to refine the result set.
For more information about the Selector Unit, you can refer to the following article available on the WebRatio wiki:
Selector Unit